package com.javasm.sale;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.javasm.sys.SysUser;

import java.io.Serializable;
import java.util.List;

@TableName("sale_delivery")
public class Delivery implements Serializable {
    @TableId(type = IdType.ASSIGN_ID)
    private String deliveryId;

    private String orderId;

    private String trackingNumber;

    private String createId;

    private String createTime;

    private String updateTime;

    @TableField(exist = false)
    private List<String> createTimeArray;

    @TableField(exist = false)
    private SysUser suser;

    @TableField(exist = false)
    private Order order;//出库单  关联  订单
    @TableField(exist = false)
    private List<GoodsDelivery> goodsDeliveryList;//出库单 聚合   出库商品

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }

    public List<GoodsDelivery> getGoodsDeliveryList() {
        return goodsDeliveryList;
    }

    public void setGoodsDeliveryList(List<GoodsDelivery> goodsDeliveryList) {
        this.goodsDeliveryList = goodsDeliveryList;
    }

    public SysUser getSuser() {
        return suser;
    }

    public void setSuser(SysUser suser) {
        this.suser = suser;
    }

    public List<String> getCreateTimeArray() {
        return createTimeArray;
    }

    public void setCreateTimeArray(List<String> createTimeArray) {
        this.createTimeArray = createTimeArray;
    }

    public String getDeliveryId() {
        return deliveryId;
    }

    public void setDeliveryId(String deliveryId) {
        this.deliveryId = deliveryId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getTrackingNumber() {
        return trackingNumber;
    }

    public void setTrackingNumber(String trackingNumber) {
        this.trackingNumber = trackingNumber;
    }

    public String getCreateId() {
        return createId;
    }

    public void setCreateId(String createId) {
        this.createId = createId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
}

